import './assets/main.css'
// 引入Vant组件
import 'vant/lib/index.css'
import router from './router'
// 引入 'element-plus'

import elementPlus from 'element-plus';
import 'element-plus/dist/index.css';

// 导入字体图标
import "./assets/fonts/iconfont.css";
import App from './Haojiutao.vue';
import { createApp,createVNode  } from 'vue';
// app.use(NutUI)
// 自定义组件  消息框提醒
//import router from './router/index.js'
// 自定义组件  消息框提醒
//引入nutui样式
import NutUI from "@nutui/nutui";
import "@nutui/nutui/dist/style.css";
// 引入NutUI组件,给组件起别名，组件名后缀N的组件为nutui组件
//ma_tingting

import { IconFont } from '@nutui/icons-vue';
import '@nutui/icons-vue/dist/style_iconfont.css';
// 引入vant组件//ma_tingting
// 自定义组件  消息框提醒
//import router from './router/index.js'
// 引入vant组件//ma_tingting
const app = createApp(App)
//nutui组件
//nutui组件
import { Cell as CellN, Address as AddressN, CellGroup as CellGroupN, Empty as EmptyN ,ActionSheet as ActionSheetN,Comment as CommentN,
    Input as InputN,Navbar as NutUINavbar, Tabs as TabsN, TabPane as NutUITabPane, Popup as NutUIPopup, Row as NutUIRow, Col as NutUICol, Table as NutUITable,
    Category as CategoryN,CategoryPane as CategoryPaneN, Navbar as NavbarN ,Cascader as CascaderN,Form as FormN,FormItem as FormItemN,Searchbar as SearchbarN,
    Steps as StepsN,Step as StepN,Dialog as DialogN,AddressList as AddressListN ,Tabs as NutUITabs,Sku as NutUISku,Card as NutUICard,ConfigProvider as ConfigProviderN ,
    Switch as SwitchN} from '@nutui/nutui'
import {
    NavBar, Col, Row, Card, Cell, CellGroup, CountDown, Field, ConfigProvider, Rate,
    Uploader, Collapse, CollapseItem, Form, Image, Checkbox, Badge, Overlay, Divider,
    Button, Skeleton, Tabbar, TabbarItem, Grid, GridItem, SkeletonAvatar, Icon, Search,
    Swipe, SwipeItem, showToast, SwipeCell, NoticeBar, Tab, Tabs, RadioGroup, Radio,
    ActionSheet, NumberKeyboard, Space, Switch, AddressList, AddressEdit, Sticky, Cascader,
    Popup, Tag, TextEllipsis, ActionBar, ActionBarIcon, ActionBarButton, showSuccessToast,
    showFailToast, Stepper, Sidebar, SidebarItem, Toast, CheckboxGroup, SubmitBar,TreeSelect ,Dialog ,Picker,Area ,Calendar
} from 'vant'

// 自定义组件  消息框提醒
//import router from './router/index.js'
// 引入vant组件//ma_tingting

app.use(Form).use(Field).use(Image).use(Checkbox).use(NavBar).use(Skeleton).use(Tabbar).use(TabbarItem)
    .use(Grid).use(GridItem).use(CellGroup).use(SkeletonAvatar).use(Row).use(Icon).use(Search).use(Swipe)
    .use(SwipeItem).use(Col).use(Card).use(Cell).use(CountDown).use(ConfigProvider).use(Rate).use(Uploader)
    .use(Collapse).use(CollapseItem).use(Badge).use(Overlay).use(Divider).use(Button).use(showToast).use(NoticeBar)
    .use(Tab).use(Tabs).use(RadioGroup).use(Radio).use(SwipeCell).use(ActionSheet).use(Switch).use(AddressList)
    .use(AddressEdit).use(NumberKeyboard).use(Space).use(Cascader).use(Popup).use(Tag).use(TextEllipsis).use(ActionBar)
    .use(ActionBarIcon).use(ActionBarButton).use(Sticky).use(showSuccessToast).use(showFailToast).use(AddressN)
.use(Stepper).use(Sidebar).use(SidebarItem).use(Toast).use(CheckboxGroup).use(SubmitBar).use(TreeSelect ).use(Dialog ).use(Picker).use(Area ).use(Calendar);
//nutui组件
app.use(NutUINavbar).use(NutUITabPane).use(NutUITabs) .use(NutUISku).use(NutUICard).use(NutUIPopup).use(IconFont).use(NutUIRow).use(NutUICol).use(NutUITable);
app.use(AddressN).use(CellN).use(CellGroupN).use(ActionSheetN).use(EmptyN).use(InputN).use(CommentN).use(CategoryPaneN)
.use(CategoryN).use(NavbarN).use(CascaderN).use(FormN).use(TabsN).use(StepsN).use(DialogN).use(AddressListN)
.use(StepN ).use(SearchbarN).use(FormItemN).use(ConfigProviderN).use(SwitchN);

app.use(router)
app.mount('#app')
